package Submarine;

import javax.swing.*;

public class DevilAttack extends SeaObject implements EnemyLife{
    public DevilAttack(int x ,int y){
        super(x,y,1.0,25,25);
    }
    @Override
    public void move() {
        y-=speed;
    }
    public ImageIcon getImage(){
        return Images.devilatk;
    }
    public boolean isOutofBounds(){return y<130;}
    public int getLife(){return 10;}
}
